package com.wing.product.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 评审列表vo
 * @version 1.1.0
 * @Author hz
 * @Date 2024-08-29 10:01
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProductReviewSearchVo {

    //主键id
    private Long id;

    //评审任务编号
    private String no;

    //评审订单编号 临时添加的未有订单
    private String orderNo;
    private String customerSkuName;
    private Long orderId;

    //客户SKU料号
    private String cusSkuCode;
    //客户产品编号
    private String cusProductCode;


    //所属类别名称
    private String productTypeName;
    private String productTypeId;

    //备注
    private String remark;
    private Long proId;

    //客户id
    private String customerId;
    //客户名称
    private String customerName;
    //这人岗位名称
    private String postName;
    private String postId;

    //评论截止时间
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime reviewEndTime;

    //状态
    private String status;

    //规格码
    private String cusProductSpec;

    //状态名称
    private String statusName;

    //创建人
    private String creatorName;

    //评审人
    private String reviewerName;

    //结果
    private String result;

    //评审时间
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime reviewOkTime;

    //创建时间
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    private Long reviewCatalogId;

    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime planGivenTime;
}
